/**
 * Created by ex-yanjun on 14-7-12.
 */
function changeTypeSchool(type,status){
	var schoolId="";
	if(status==2){
		schoolId=$("#schoolId").val();
	}	
	if(schoolId==""){
		window.location.href="/ranking/personalRankCampusList.html?type="+type;
	}else{
		window.location.href="/ranking/personalRankCampusList.html?type="+type+"&schoolId="+schoolId;
	}
}
function changeType(type){
	window.location.href="/ranking/personalRankLeagueList.html?type="+type;
}

function changeSchool(schoolId){
	$("#schoolId").attr("value",schoolId);
	var typeIds=$("#type").val();
	window.location.href="/ranking/personalRankCampusList.html?type="+typeIds+"&schoolId="+schoolId;
}

